var express = require('express');
const { getAll ,del,add} = require('../controlers/errorControler');
var router = express.Router();

/* GET users listing. */
router.get('/getErrors/:id',getAll)

router.post('/deleteErrors',del)

router.post('/createErrors',add)
module.exports = router;
